package com.daJiao.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.daJiao.entity.SysDict;
import com.daJiao.mapper.SysDictMapper;
import com.daJiao.service.SysDictService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * Title: SysDictService<br>;
 * Description: 数据字典<br>;
 * Copyright: Copyright (c) 2017<br>;
 * Company: <br>;
 *
 * @author xinglinglove1029@163.com<br>
 * 2018/11/21 16:50
 */
@Service
public class SysDictServiceImpl extends ServiceImpl<SysDictMapper,SysDict> implements SysDictService {

    @Resource
    private SysDictMapper sysDictMapper;

    @Override
    public List<SysDict> getByParentCode(String parentCode) {
        return sysDictMapper.getByParentCode(parentCode);
    }

}
